<script>
import {defineComponent} from 'vue'

export default defineComponent({
  name: "Header"
})
</script>

<template>
  <div class="header">
    <slot name="left"></slot>
    <slot name="center"></slot>
    <slot name="right"></slot>
  </div>
</template>

<style scoped lang="less">
.header{
  padding: 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 600px;
  background-color: #15e79e;
  height: 30px;
}
</style>
